<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" th:href="@{~/layui/css/layui.css}">
		<script th:src="@{~/layui/layui.js}"></script>
		<title>Admin</title>
	</head>
	<body class="layui-layout-body">
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header">
				<div class="layui-logo">云社区</div>
				<ul class="layui-nav layui-layout-right">
					<li class="layui-nav-item" sec:authentication="name">
						清风随我意
					</li>
					<li class="layui-nav-item"><a th:href="@{~/logout}">退出</a></li>
				</ul>
			</div>
			<div class="layui-side layui-bg-black">
				<div class="layui-side-scroll">
					<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
					<ul class="layui-nav layui-nav-tree" lay-filter="test" lay-shrink="all">
						<li class="layui-nav-item"><a href="index">首页</a></li>
						<li class="layui-nav-item"><a href="user">用户管理</a></li>
						<li class="layui-nav-item">
							<a href="javascript:;">资源管理</a>
							<dl class="layui-nav-child">
								<dd><a href="wapTj">审核资源</a></dd>
								<dd><a href="wapList">资源列表</a></dd>
							</dl>
						</li>
						<li class="layui-nav-item"><a href="">设置</a></li>
					</ul>
				</div>
			</div>
			<div class="layui-body" style="background-color: #F2F2F2;">
				<div class="layui-fluid">
					<div class="layui-row layui-col-space15" style="padding-top: 10px;">
						<div class="layui-col-md10 ">
							<div class="layui-card">
								<div class="layui-card-header">待开发区域</div>
								<div class="layui-card-body">
									<img th:src="@{~/image/03-12.jpg}" width="100%" />
								</div>
							</div>
						</div>
						<div class="layui-col-md2">
							<div class="layui-row layui-col-space15">
								<div class="layui-col-md12">
									<div class="layui-card">
										<div class="layui-card-header">用户信息</div>
										<div class="layui-card-body">
											<div class="layui-row layui-col-space15">
												<div class="layui-col-lg12">
													<li style="background-color: #F8F8F8;">
														<a href="user">
															<h3 style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;">当前用户</h3>
															<p>
																<cite style="font-size: 30px;color: #009688;padding: 0 10px;" th:text="${user_all}"></cite>
															</p>
														</a>
													</li>
												</div>
												<div class="layui-col-lg12">
													<li style="background-color: #F8F8F8;">
														<a href="#">
															<h3 style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;color: #999999;">新增用户</h3>
															<p>
																<cite style="font-size: 30px;color: indianred;padding: 0 10px;">999</cite>
															</p>
														</a>
													</li>
												</div>
											</div>


										</div>
									</div>
								</div>
								<div class="layui-col-md12">
									<div class="layui-card">
										<div class="layui-card-header">资源信息</div>
										<div class="layui-card-body">
											<div class="layui-row layui-col-space15">
												<div class="layui-col-lg12">
													<li style="background-color: #F8F8F8;">
														<a href="wapList">
															<h3 style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;color: #999999;">当前资源</h3>
															<p>
																<cite style="font-size: 30px;color: #009688;padding: 0 10px;" th:text="${url_all}">999</cite>
															</p>
														</a>
													</li>
												</div>
												<div class="layui-col-lg12">
													<li style="background-color: #F8F8F8;">
														<a href="#">
															<h3 style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;color: #999999;">失效资源</h3>
															<p>
																<cite style="font-size: 30px;color: indianred;padding: 0 10px;" th:text="${url_all_false}">99</cite>
															</p>
														</a>
													</li>
												</div>
												<div class="layui-col-lg12">
													<li style="background-color: #F8F8F8;">
														<a href="wapTj">
															<h3 style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;color: #999999;">待审核资源</h3>
															<p>
																<cite style="font-size: 30px;color: indianred;padding: 0 10px;" th:text="${url_all_tj}">2</cite>
															</p>
														</a>
													</li>
												</div>
												<div class="layui-col-lg12">
													<li style="background-color: #F8F8F8;">
														<a href="#">
															<h3 style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;color: #999999;">今日提交资源</h3>
															<p>
																<cite style="font-size: 30px;color: #009688;padding: 0 10px;">2</cite>
															</p>
														</a>
													</li>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="layui-footer">
				<div class="layui-main">
					<p align="center">@2019 <a th:href="@{http://www.yqfeng.xyz}">www.yqfeng.com</a> ---云社区</p>
				</div>
			</div>
		</div>
		<script>
			layui.use('element', function() {
				var element = layui.element;
			});
		</script>
	</body>
</html>
